import service from '@/utils/request'

export const setPhone = (params) => {
    return service({
        url: '/employees/setPhone',
        method: 'put',
        params
    })
}

export function avatarUpload(data) {
    return service({
        url: '/employees/uploadAvatar',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        data
    })
}
